import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'

Vue.use(Router)



export default new Router({
  // mode: 'history',
  routes: [
    // {
    //   path: '/',
    //   name: 'HelloWorld',
    //   component: HelloWorld,
    //   children: [
       
    //   ]
    // },
    {
      path: '/',
      name: 'home',
      meta:{title:'首页',type:1},
      component: () => import('../nav/home/index.vue')
    },
    {
      path: '/PrivacyPolicy',
      name: 'PrivacyPolicy',
      meta:{title:'隐私政策',type:1},
      component: () => import('../nav/PrivacyPolicy/index.vue')
    },
    {
      path: '/zlzsj',
      name: 'zlzsj',
      meta:{title:'转录组数据',type:1},
      component: () => import('../nav/zlzsj/index.vue')
    },
    {
      path: '/cyjbswbzw',
      name: 'cyjbswbzw',
      meta:{title:'差异疾病生物标志物',type:1},
      component: () => import('../nav/cyjbswbzw/index.vue')
    },
    {
      path: '/literature',
      name: 'literature',
      meta:{title:'文献命名实体识别',type:1},
      component: () => import('../nav/literature/index.vue')
    },
  ]
})
